import request from "@/utils/request.js";
const PREFIX = "/video"
export default {
    getVideoInfo(videoCode){
        return request({
            url:`${PREFIX}/info/${videoCode}`,
            method:'get'
        })
    },
    getVideoList(dto){
        return request({
            url:`${PREFIX}/list`,
            method:'post',
            data:dto
        })
    },
    getRangeVideo(size){
        return request({
            url:`${PREFIX}/range/${size}`,
            method:'get'
        })
    },
    searchVideo(dto){
        return request({
            url:`${PREFIX}/search`,
            method:'post',
            data:dto
        })
    },
    getSeqList(videoId){
        return request({
            url:`${PREFIX}/seq/${videoId}`,
            method:"get"
        })
    }
}